﻿using SportTraining.Core.Domain;

namespace SportTraining.Core.Linq2Sql
{
    public partial class Payment : IPayment
    {
        IPrice IPayment.Price
        {
            get { return Price; }
            set { Price = (Price) value; }
        }

        public override string ToString()
        {
            return string.Format("{0} {1} {2}", Price.Section, Price, FeeMoney);
        }
    }
}
